package com.hopes.bizz.enforcement.hid.dto;

import com.hopes.bizz.common.core.validate.group.AuditGroup;
import com.hopes.bizz.common.core.validate.group.AuditPassGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lyb
 * @version 1.0
 * @date 2023/3/17 11:03
 */
@Data
public class RiskHandleHidAcceptanceDTO implements Serializable {
    private static final long serialVersionUID = -6492285600165841133L;

    @NotNull(message = "主键标识为必填项", groups = {AuditGroup.class})
    private Long id;

    /**
     * 处理结果
     */
    @NotNull(message = "处理结果为必填项", groups = {AuditGroup.class})
    private Integer handleResult;

    /**
     * 处理结果描述
     */
    @NotBlank(message = "处理结果描述为必填项", groups = {AuditGroup.class})
    private String handleResultDesc;

    /**
     * 签名
     */
    @NotBlank(message = "签名为必填项", groups = {AuditPassGroup.class})
    private String signature;
}
